package com.zyit.service.Impl;

import com.zyit.DataObject.T_user;
import com.zyit.dao.UserDao;
import com.zyit.service.UserService;

public class UserServiceImpl implements UserService {
  private UserDao userDao = new UserDao();
    @Override
    public T_user findUserNameAndPassword(String name,String password) {
        return userDao.findUserNameAndPassword(name,password);
    }

    @Override
    public T_user findUser(String a, String b) {
        return userDao.findUserNameAndPassword(a,b);
    }

    @Override
    public T_user nameByUser(String name) {
        return userDao.nameByUser(name);
    }
}
